package pl.ptemich.bumbastic.physics;

import pl.ptemich.bumbastic.Point;




public abstract class AbstractCollisionShape implements CollisionShape {

    protected Point position;

    @Override
    public void moveTo(Point point) {
        position.setX(point.getPosX());
        position.setY(point.getPosY());
    }

    public Point getPosition() {
        return position;
    }

    protected void setPosition(Point position) {
        this.position = position;
    }

}
